package com.ostrich.module_home.daily

import androidx.lifecycle.LiveData
import com.ostrich.library_base.BaseViewModel
import com.ostrich.library_net.BaseResponse
import com.ostrich.module_home.HomeRepository
import com.ostrich.module_home.daily.entity.DailyEntity

/**
 * @Author : yaotianxue
 * @Time : On 2023/10/30 14:00
 * @Description : DailyViewModel
 */
class DailyViewModel:BaseViewModel() {
    private val homeRepository:HomeRepository by lazy{HomeRepository()}

    fun daily(): LiveData<BaseResponse<MutableList<DailyEntity>>> {
        return homeRepository.daily()
    }
}